package conson.tech.manage.api.app.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: AppAdvertForm
 * Description:
 * Author: HXL
 * Date: 2020/5/6 3:27 下午
 * Version: 1.0
 */
@Data
public class AppAdvertForm implements Serializable {
    private static final long serialVersionUID = 1970102816269517154L;
    @NotNull(message = "广告位ID不能为空")
    @ApiModelProperty(value = "广告位ID",required = true,example = "1")
    private Long placeId;
    @NotBlank(message = "版本不能为空")
    private String version;
    /** 平台类型1 iOS 2 android */
    @NotNull(message = "平台类型1 iOS 2 android 不能为空")
    private Integer platformType;
}
